/*
 * Copyright 2009 fearsomeJ.org
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.fearsomej.jayme.process;

import java.util.List;


/**
 * @author Kevin Beddingfield
 *
 */
public class Transition {
	private ProcessStepAction fromStep;
	private ProcessStepAction toStep;
	private List<Decision> decisions;
	
	/**
	 * @return the toStep
	 */
	public ProcessStepAction getToStep() {
		return toStep;
	}

	/**
	 * @param toStep the toStep to set
	 */
	public void setToStep(ProcessStepAction toStep) {
		this.toStep = toStep;
	}

	/**
	 * @return the fromStep
	 */
	public ProcessStepAction getFromStep() {
		return fromStep;
	}	
	
	/**
	 * @param start
	 */
	public void setFromStep(ProcessStepAction fromStep) {
		this.fromStep = fromStep;		
	}

	public List<Decision> getDecisions() {
		return decisions;
	}

	public void setDecisions(List<Decision> decisions) {
		this.decisions = decisions;
	}
}
